// @import '@/assets/styles/mixin.scss';

.dialog {
  // @include el-dialog-style;
}

::v-deep .el-dialog {
  // --el-dialog-height: 100%;
  background-color: #fff !important;
  // margin: calc((1080px - var(--el-dialog-height, 915px) - 35px) / 2) auto 0px !important;
  // margin: calc((1080px - var(--el-dialog-height, 915px) - 35px) / 2) auto 0px !important;
  // margin-top: calc((100vh - var(--el-dialog-height)) / 2) !important;
  height: calc(var(--el-dialog-height));
  // margin-top: calc((100% - var(--el-dialog-height)) / 2) !important;
  border-radius: 8px;

  .el-dialog__header {
    padding: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0 20px;
    border-bottom: 1px solid #c8c8c8;
    .header-title {
      font-size: 18px !important;
      font-weight: bold;
      color: #3d3d3d;
    }
    .el-dialog__headerbtn {
      top: 14px;
      // right: 10px;
      font-size: 18px;
      .el-dialog__close {
        color: #3d3d3d;
      }
    }
  }

  .el-dialog__body {
    padding: 15px 20px;
    height: calc(100% - 42px);
  }

  &:has(.el-dialog__footer) {
    .el-dialog__body {
      padding: 15px 20px;
      height: calc(100% - 108px);
    }
  }
}

.dialog-body {
  width: 100%;
  height: 100%;
}

.swiper-container {
  width: 100%;
  height: 100%;

  .swiper-slide-content {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
  }

  .swiper-button-prev,
  .swiper-button-next {
    &::after {
      content: '';
    }

    .svg-icon {
      font-size: 20px;
      color: #00ffff;
    }
  }
}
